icon-theme: Better handling of unscaled icon directories
authorAlexander Larsson <alexl@redhat.com>
Mon, 23 Sep 2013 10:42:30 +0000 (12:42 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 23 Sep 2013 10:45:34 +0000 (12:45 +0200)
commit68c450468eb44c45fb2e36744eb2524e8af59c6d
tree91a77af5b0dc17cda91a9c330fa8818a7d64ba32
parenta001dc0ec73888f2de36c60484c3ef942b13c9b6
icon-theme: Better handling of unscaled icon directories

If an icon is in a Fixed or Threshold directory we normally don't
scale it. However, in the case of HiDPI scaling we *do* want to
scale it, to avoid different layouts in Lo/HiDPI. We look up whatever
the size of the icon would have been in LoDPI and scale to that
in the no-scaling case, thus getting the same layout as the
unscaled case.

https://bugzilla.gnome.org/show_bug.cgi?id=708384
gtk/gtkicontheme.c